import os
import fitz
# def get_image_path(base_path, endswith):
#     image_list = []
#     collection = os.walk(base_path)
#     for path, d, filelist in collection:
#         for filename in filelist:
#             if filename.endswith(endswith):
#                 image_list.append(os.path.join(path, filename))
#     return image_list
#
# result = get_image_path("./", ".png")
# print(result)


rect = fitz.Rect(0, 0, 600, 100)
print(rect.tl, rect.br)

x = rect.tl + (0, 300)
y = rect.br + (0, 300)
print(a)